Skip to content

Fix initialization of Taskwarrior on Dockerfile - #4159

Merged
lauft merged 1 commit into
developfrom
fix-dockerfile-task-initialization
Jul 29, 2026
Merged

Fix initialization of Taskwarrior on Dockerfile#4159
lauft merged 1 commit into
developfrom
fix-dockerfile-task-initialization

Conversation

@lauft

@lauft lauft commented Jul 25, 2026

Copy link
Copy Markdown
Member

Add the 'default.theme' to the test Docker file and create empty '.taskrc'.
Those two files are the minimum requirements for Taskwarrior to run.

This fixes the e2e tests for the [task-timewarrior-hook] which require an image with running Taskwarrior and Timewarrior.
Without the two files, Taskwarrior exits with error message,

Could not find file in CWD, directory of config file or search paths 'default.theme'.

causing the e2e tests to fail.

Add the 'default.theme' to the test Docker file and create empty '.taskrc'.
Those two files are the minimum requirements for Taskwarrior to run
@lauft
lauft requested review from djmitche and felixschurk July 25, 2026 21:17

@felixschurk felixschurk left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and reasonable!

@lauft
lauft merged commit 3ccac9b into develop Jul 29, 2026
29 checks passed
@lauft
lauft deleted the fix-dockerfile-task-initialization branch July 29, 2026 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants